
<ul class="nav nav-list">
	<volist name="MemuList" id="vo">
	<li style="display:none" class="topmemu cate_<{$vo.cate}> <if condition="$cur_group_id eq $vo['id']">active</if>"> <a href="<{$vo['url']}>" <if condition="$vo['submemu']">class="dropdown-toggle"</if>> <i class="menu-icon <{$vo.ico}>"></i> <span class="menu-text"><{$vo.title}></span>  <if condition="$vo['submemu']"><b class="arrow fa fa-angle-down"></b></if> </a> <b class="arrow"></b>
	<!--二级菜单-->	
		<if condition="$vo['submemu']">
		<ul class="submenu">
		<volist name="vo['submemu']" id="vo1">
			<li class="<if condition="$cur_memuNav eq $vo1['key']">active</if>"> <a href="<{$vo1['url']}>"> <i class="menu-icon fa fa-caret-right"></i> <{$vo1.lable}></a> <b class="arrow"></b> </li>
		 </volist>	
		</ul>
		</if>
	<!--二级菜单完-->		
	</li>
	</volist>
	
</ul>

<script>
$(function(){
	$("#sidebar-shortcuts-large a").click(function(){
		var cate=$(this).attr("cate");
		show_topmemu_cate(cate);
	})	
})

function show_topmemu_cate(cate){
	$(".topmemu").hide();
	$(".cate_"+cate).show();
}
<if condition="$cur_auth_group_cate">
	show_topmemu_cate("<{$cur_auth_group_cate}>");
</if>

</script>